﻿using System;
using System.Collections.Generic;
using System.Data;
using System.Text;
using DAL;
namespace BLL
{
   public class FromKingdeeBiz
    {
       FromKingdeeDao fromKingdeeDao = new FromKingdeeDao();
       public DataTable GetListsFromKq(string strYear, string strMonth)
       {
           return fromKingdeeDao.GetListsFromKq(strYear, strMonth);
       }

       public bool IsExistKq(string strYear, string strMonth)
       {

           return fromKingdeeDao.IsExistKq(strYear, strMonth);
       }
       public bool DeleteKq(string strYear, string strMonth)
       {
           return fromKingdeeDao.DeleteKq(strYear, strMonth);
       }

       public DataTable GetLists(string strYear, string strMonth)
       {
           return fromKingdeeDao.GetLists(strYear, strMonth);
       }
       public DataTable GetLists(string empCode, string strYear, string strMonth)
       {
           return fromKingdeeDao.GetLists(empCode,strYear, strMonth);
       }
       public bool BulkInsert(DataTable sourceTable)
       {
           return fromKingdeeDao.BulkInsert(sourceTable);
       }
       public DataTable GetNewEmpList()
       { return fromKingdeeDao.GetNewEmpList(); 
       
       }
       public bool BulkOut(DataTable sourceTable)
       {
           return fromKingdeeDao.BulkOut(sourceTable);
       }
       public bool UpdateOut()
       {
           return fromKingdeeDao.UpdateOut();
       }
    }
}
